package com.ws.pojos;

public class TransactionParams {
	private String transactionID;
	
	private String ecReportName;
	private String eventName;
	private String eventType;
	private String businessStep;
	private String businessLocation;
	private String disposition;
	private String ecSpecName;
	private String readPoint;
	private String action;
	private String transactionType;

	public TransactionParams() {
		super();
	}

	public String getTransAttr(int i){
		String ret = null;
		switch(i){
		case 0:
			ret = ecReportName;
			break;
		case 1:
			ret = eventName;
			break;
		case 2:
			ret = eventType;
			break;
		case 3:
			ret = businessStep;
			break;
		case 4:
			ret = businessLocation;
			break;
		case 5:
			ret = disposition;
			break;
		case 6:
			ret = ecSpecName;
			break;
		case 7:
			ret = readPoint;
			break;
		case 8:
			ret = transactionType;
			break;
		case 9:
			ret = action;
			break;
		}
		return ret;
	}
	
	public String getTransactionID() {
		return transactionID;
	}

	public void setTransactionID(String transactionID) {
		this.transactionID = transactionID;
	}

	public String getTransactionType() {
		return transactionType;
	}

	public void setTransactionType(String transactionType) {
		this.transactionType = transactionType;
	}

	public String getEcReportName() {
		return ecReportName;
	}

	public void setEcReportName(String ecReportName) {
		this.ecReportName = ecReportName;
	}

	public String getEventName() {
		return eventName;
	}

	public void setEventName(String eventName) {
		this.eventName = eventName;
	}

	public String getEventType() {
		return eventType;
	}

	public void setEventType(String eventType) {
		this.eventType = eventType;
	}

	public String getBusinessStep() {
		return businessStep;
	}

	public void setBusinessStep(String businessStep) {
		this.businessStep = businessStep;
	}

	public String getBusinessLocation() {
		return businessLocation;
	}

	public void setBusinessLocation(String businessLocation) {
		this.businessLocation = businessLocation;
	}

	public String getDisposition() {
		return disposition;
	}

	public void setDisposition(String disposition) {
		this.disposition = disposition;
	}

	public String getEcSpecName() {
		return ecSpecName;
	}

	public void setEcSpecName(String ecSpecName) {
		this.ecSpecName = ecSpecName;
	}

	public String getReadPoint() {
		return readPoint;
	}

	public void setReadPoint(String readPoint) {
		this.readPoint = readPoint;
	}

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}
	
	
}
